#ifndef ADUMOVABLE_H_
#define ADUMOVABLE_H_

#include "cocos2d.h"
#include "../GameUtils/ADUConstants.h"
class ADURoad;

using namespace cocos2d;

class ADUMovable: public CCSprite {
public:
	ADUMovable();
	~ADUMovable();
	virtual void onSpeedchanged(int speed) = 0;
	void run();
	virtual int getSpeed() = 0;
	int getType();
	void setType(int type);
	static void setRoadSpeed(int speed);
	CCPoint getMoveableLocation();
protected:
	static int roadSpeed;
	int type;
};

#endif
